﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Password.aspx.cs" Inherits="Jy123.Web.Manage.Password" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>管理员－注册</title>
    <link href="css/custom/jquery.ui.css" rel="stylesheet" type="text/css" />
    <link href="css/main.css" rel="stylesheet" type="text/css" />

    <script src="js/jquery.js" type="text/javascript"></script>

    <script src="js/jquery.ui.js" type="text/javascript"></script>

    <script src="js/main.js" type="text/javascript"></script>

    <script src="js/reg.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <h4>
        <a href="#"><span>管理员密码修改</span></a></h4>
    <div class="register">
        <h5>
            用户名</h5>
        <ul>
            <li>
                <asp:TextBox ID="txtName" CssClass="text" runat="server" ReadOnly="true"></asp:TextBox>
            </li>
        </ul>
        <h5>
            旧密码</h5>
        <ul class="bb">
            <li>
                <input id="OldPwd" type="password" class="text" runat="server" onkeyup="pwdStrength(this.value)" /></li>
            <li>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="请输入旧密码"
                    CssClass="warning" Display="Dynamic" ControlToValidate="OldPwd" ForeColor=""></asp:RequiredFieldValidator>
            </li>
        </ul>
        <h5>
            密 码</h5>
        请输入您的新密码2次. 建议使用强度高的密码增强安全.
        <ul class="bb">
            <li>
                <input id="pwd" type="password" class="text" runat="server" onkeyup="pwdStrength(this.value)" /></li>
            <li>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="请输入密码"
                    CssClass="warning" Display="Dynamic" ControlToValidate="pwd" ForeColor=""></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="pwd"
                    CssClass="warning" Display="Dynamic" ErrorMessage="密码必须大于6小于20" ForeColor=""
                    ValidationExpression="\w{6,20}"></asp:RegularExpressionValidator>
            </li>
            <li><span class="password-strength"><span>低</span><span>中</span><span>高</span></span></li>
        </ul>
        <ul>
            <li>
                <input id="pwd2" type="password" class="text" runat="server" /></li>
            <li>
                <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="pwd"
                    ControlToValidate="pwd2" CssClass="warning" Display="Dynamic" ErrorMessage="两次密码不同"
                    ForeColor=""></asp:CompareValidator>
            </li>
        </ul>
        <ul class="bb">
            <li>
                <asp:Button ID="btnSubmit" CssClass="button" runat="server" Text="密码修改" OnClick="btnSubmit_Click" /></li>
        </ul>
    </div>
    <% =Message %>
    </form>
</body>
</html>
